Loop through checkboxes to select all

I have a GUI that includes a number of checkboxes (not within a listView) and want to add a button that will check all of the boxes.  I have tried using a for loop through all the elements of the dbeChkBoxes item, but I keep getting an error.  Is it possible to do what I want, or do I need to put the checkboxes inside of a listView?

 

Chris


chrscote - Fri Dec 08 13:15:45 EST 2017

Re: Loop through checkboxes to select all
PekkaMakinen - Sat Dec 09 02:29:20 EST 2017

Add your checkbox DBEs to a skip list and then loop through that skip list to select the elements.

Re: Loop through checkboxes to select all
chrscote - Mon Dec 11 07:52:48 EST 2017

PekkaMakinen - Sat Dec 09 02:29:20 EST 2017

Add your checkbox DBEs to a skip list and then loop through that skip list to select the elements.

Thank you Pekka.  I hadn't realized that you could put the actual checkboxes in a skip list.

 

Chris